package com.kbook.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.kbook.action.impl.ListAction;

@Controller
public class ListController extends BaseController {

	@Override
	@RequestMapping("/novel/list.html")
	public ModelAndView control(HttpServletRequest request,
			HttpServletResponse response) throws Throwable {
		// TODO Auto-generated method stub
		return super.control(request, response);
	}

	@Override
	protected String getView() {
		// TODO Auto-generated method stub
		return "list";
	}

	@Override
	protected void initAction() {
		// TODO Auto-generated method stub
		setAction(new ListAction());
	}

}
